import type { FlowNode, FlowEdge } from '@/models/jdf';

/**
 * Standardized result format for all parser wrappers.
 */
export interface ParseResult {
    success: boolean;
    document?: Document | object | null; // Allow different internal doc representations
    error?: string;
    nodes: FlowNode[];
    edges: FlowEdge[];
} 